package org.dromara.web.domain.survey;




import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_question")
public class Question {

    @com.baomidou.mybatisplus.annotation.TableId(value = "question_id", type = IdType.AUTO)
    private Integer questionId; // 题目id

    private Integer surveyId; // 问卷id

    private String questionText; // 题目内容

    private String questionType;  // 使用String代替枚举，简化数据库操作  ENUM('single', 'multiple', 'text','img')

    private Boolean required; // 是否必填

    private Integer orderIndex; // 题目顺序
}
